package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 会员聊天对象 customer_chat
 * 
 * @author ruoyi
 * @date 2023-05-17
 */
public class CustomerChat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员聊天表主键 */
    private Long customerChatId;

    /** 关联会员ID */
    @Excel(name = "关联会员ID")
    private Long customerId;

    /** 关联不同类型报告ID */
    @Excel(name = "关联不同类型报告ID")
    private Long reportId;

    /** 关联训练内容ID */
    @Excel(name = "关联训练内容ID")
    private Long exerciseId;

    /** (0每日报告 1 7日报告 2 28天报告) */
    @Excel(name = "(0每日报告 1 7日报告 2 28天报告)")
    private Long reportType;

    /** 聊天内容 */
    @Excel(name = "聊天内容")
    private String chatContent;

    /** 聊天来源枚举(0虚拟人 1自己) */
    @Excel(name = "聊天来源枚举(0虚拟人 1自己)")
    private Long source;

    /** 图片地址连接 */
    @Excel(name = "图片地址连接")
    private String imgUrl;

    /** 跳转连接地址 */
    @Excel(name = "跳转连接地址")
    private String location;

    public void setCustomerChatId(Long customerChatId) 
    {
        this.customerChatId = customerChatId;
    }

    public Long getCustomerChatId() 
    {
        return customerChatId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setExerciseId(Long exerciseId) 
    {
        this.exerciseId = exerciseId;
    }

    public Long getExerciseId() 
    {
        return exerciseId;
    }
    public void setReportType(Long reportType) 
    {
        this.reportType = reportType;
    }

    public Long getReportType() 
    {
        return reportType;
    }
    public void setChatContent(String chatContent) 
    {
        this.chatContent = chatContent;
    }

    public String getChatContent() 
    {
        return chatContent;
    }
    public void setSource(Long source) 
    {
        this.source = source;
    }

    public Long getSource() 
    {
        return source;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerChatId", getCustomerChatId())
            .append("customerId", getCustomerId())
            .append("reportId", getReportId())
            .append("exerciseId", getExerciseId())
            .append("reportType", getReportType())
            .append("chatContent", getChatContent())
            .append("source", getSource())
            .append("imgUrl", getImgUrl())
            .append("location", getLocation())
            .append("createTime", getCreateTime())
            .toString();
    }
}
